<template>
  <div>
    <h2>{{ sing }}</h2>
    <van-swipe class="my-swipe" :autoplay="2000" indicator-color="orange">
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌1.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌2.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌3.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌4.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌5.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌6.jpg" /></van-swipe-item>
      <van-swipe-item><van-image width="100%" height="100%" fit="cover" src="/assets/唱歌7.jpg" /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
import { mapState } from 'vuex'

export default {
  name: 'Sing',
  computed: {
    ...mapState(['sing'])
  }
}
</script>
